package com.ys.entity.storage;
import java.math.BigDecimal;
import java.util.Date;
import javax.persistence.Table;
import com.alibaba.fastjson.annotation.JSONField;
import com.ys.annotation.YsField;
import com.ys.entity.base.BaseEntity;
/**
*/
@Table(name="TCC_FbaCancel", catalog="Id")
public class TccFbaCancel extends BaseEntity<TccFbaCancel> {

	@YsField(nameDataBase="Id", nameJava="id", typeDataBase="bigint")
	private Long id;
	@YsField(nameDataBase="BidFbaPlan", nameJava="bidFbaPlan", typeDataBase="varchar")
	private String bidFbaPlan;
	@YsField(nameDataBase="FormType", nameJava="formType", typeDataBase="tinyint")
	private Integer formType;
	@YsField(nameDataBase="IsOriginallyChw", nameJava="isOriginallyChw", typeDataBase="tinyint")
	private Integer isOriginallyChw;
	@YsField(nameDataBase="Chw", nameJava="chw", typeDataBase="varchar")
	private String chw;
	@YsField(nameDataBase="Vck", nameJava="vck", typeDataBase="varchar")
	private String vck;
	@YsField(nameDataBase="Vkq", nameJava="vkq", typeDataBase="varchar")
	private String vkq;
	@YsField(nameDataBase="Vhw", nameJava="vhw", typeDataBase="varchar")
	private String vhw;
	@JSONField(format = "yyyy-MM-dd HH:mm:ss")
	@YsField(nameDataBase="ExamineTime", nameJava="examineTime", typeDataBase="datetime")
	private Date examineTime;
	@YsField(nameDataBase="ExamineChangeId", nameJava="examineChangeId", typeDataBase="bigint")
	private Long examineChangeId;
	@YsField(nameDataBase="BoxAmount", nameJava="boxAmount", typeDataBase="decimal")
	private BigDecimal boxAmount;
	@YsField(nameDataBase="SkuAmount", nameJava="skuAmount", typeDataBase="decimal")
	private BigDecimal skuAmount;
	@YsField(nameDataBase="UnifiedAmount", nameJava="unifiedAmount", typeDataBase="decimal")
	private BigDecimal unifiedAmount;
	@YsField(nameDataBase="AmountExplain", nameJava="amountExplain", typeDataBase="varchar")
	private String amountExplain;
	@YsField(nameDataBase="BoxState", nameJava="boxState", typeDataBase="tinyint")
	private Integer boxState;
	@YsField(nameDataBase="BidFbaBoxUp", nameJava="bidFbaBoxUp", typeDataBase="varchar")
	private String bidFbaBoxUp;
	@YsField(nameDataBase="Status", nameJava="status", typeDataBase="tinyint")
	private Integer status;
	@JSONField(format = "yyyy-MM-dd HH:mm:ss")
	@YsField(nameDataBase="CreateTime", nameJava="createTime", typeDataBase="datetime")
	private Date createTime;
	@JSONField(format = "yyyy-MM-dd HH:mm:ss")
	@YsField(nameDataBase="UpdateTime", nameJava="updateTime", typeDataBase="datetime")
	private Date updateTime;

	public Long getId() {
		return id;
	}
	public TccFbaCancel setId(Long id) {
		this.id = id;
		return this;
	}
	public String getBidFbaPlan() {
		return bidFbaPlan;
	}
	public TccFbaCancel setBidFbaPlan(String bidFbaPlan) {
		this.bidFbaPlan = bidFbaPlan;
		return this;
	}
	public Integer getFormType() {
		return formType;
	}
	public TccFbaCancel setFormType(Integer formType) {
		this.formType = formType;
		return this;
	}
	public Integer getIsOriginallyChw() {
		return isOriginallyChw;
	}
	public TccFbaCancel setIsOriginallyChw(Integer isOriginallyChw) {
		this.isOriginallyChw = isOriginallyChw;
		return this;
	}
	public String getChw() {
		return chw;
	}
	public TccFbaCancel setChw(String chw) {
		this.chw = chw;
		return this;
	}
	public String getVck() {
		return vck;
	}
	public TccFbaCancel setVck(String vck) {
		this.vck = vck;
		return this;
	}
	public String getVkq() {
		return vkq;
	}
	public TccFbaCancel setVkq(String vkq) {
		this.vkq = vkq;
		return this;
	}
	public String getVhw() {
		return vhw;
	}
	public TccFbaCancel setVhw(String vhw) {
		this.vhw = vhw;
		return this;
	}
	public Date getExamineTime() {
		return examineTime;
	}
	public TccFbaCancel setExamineTime(Date examineTime) {
		this.examineTime = examineTime;
		return this;
	}
	public Long getExamineChangeId() {
		return examineChangeId;
	}
	public TccFbaCancel setExamineChangeId(Long examineChangeId) {
		this.examineChangeId = examineChangeId;
		return this;
	}
	public BigDecimal getBoxAmount() {
		return boxAmount;
	}
	public TccFbaCancel setBoxAmount(BigDecimal boxAmount) {
		this.boxAmount = boxAmount;
		return this;
	}
	public BigDecimal getSkuAmount() {
		return skuAmount;
	}
	public TccFbaCancel setSkuAmount(BigDecimal skuAmount) {
		this.skuAmount = skuAmount;
		return this;
	}
	public BigDecimal getUnifiedAmount() {
		return unifiedAmount;
	}
	public TccFbaCancel setUnifiedAmount(BigDecimal unifiedAmount) {
		this.unifiedAmount = unifiedAmount;
		return this;
	}
	public String getAmountExplain() {
		return amountExplain;
	}
	public TccFbaCancel setAmountExplain(String amountExplain) {
		this.amountExplain = amountExplain;
		return this;
	}
	public Integer getBoxState() {
		return boxState;
	}
	public TccFbaCancel setBoxState(Integer boxState) {
		this.boxState = boxState;
		return this;
	}
	public String getBidFbaBoxUp() {
		return bidFbaBoxUp;
	}
	public TccFbaCancel setBidFbaBoxUp(String bidFbaBoxUp) {
		this.bidFbaBoxUp = bidFbaBoxUp;
		return this;
	}
	public Integer getStatus() {
		return status;
	}
	public TccFbaCancel setStatus(Integer status) {
		this.status = status;
		return this;
	}
	public Date getCreateTime() {
		return createTime;
	}
	public TccFbaCancel setCreateTime(Date createTime) {
		this.createTime = createTime;
		return this;
	}
	public Date getUpdateTime() {
		return updateTime;
	}
	public TccFbaCancel setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
		return this;
	}

	public static TccFbaCancel tccFbaCancel(
		String bidFbaPlan,
		Integer formType,
		Integer isOriginallyChw,
		String chw,
		String vck,
		String vkq,
		String vhw,
		Date examineTime,
		Long examineChangeId,
		BigDecimal boxAmount,
		BigDecimal skuAmount,
		BigDecimal unifiedAmount,
		String amountExplain,
		Integer boxState,
		String bidFbaBoxUp,
		Integer status
			) {
		TccFbaCancel entity = new TccFbaCancel();
		entity.setBidFbaPlan(bidFbaPlan);
		entity.setFormType(formType);
		entity.setIsOriginallyChw(isOriginallyChw);
		entity.setChw(chw);
		entity.setVck(vck);
		entity.setVkq(vkq);
		entity.setVhw(vhw);
		entity.setExamineTime(examineTime);
		entity.setExamineChangeId(examineChangeId);
		entity.setBoxAmount(boxAmount);
		entity.setSkuAmount(skuAmount);
		entity.setUnifiedAmount(unifiedAmount);
		entity.setAmountExplain(amountExplain);
		entity.setBoxState(boxState);
		entity.setBidFbaBoxUp(bidFbaBoxUp);
		entity.setStatus(status);
		return entity;
	}
}